package com.gof.example.factory;

import com.gof.example.utils.XmlUtil;
import org.xml.sax.SAXException;

import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;

/**
 * Hello world!
 */
public class App {
    public static void main(String[] args) throws SAXException, IllegalAccessException, IOException, InstantiationException, ParserConfigurationException, ClassNotFoundException {
        ImageFactory factory = XmlUtil.getBean(ImageFactory.class);
        factory.readImg();
    }
}
